package com.xiaobai.model.entity.system;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaobai.model.mp.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author author
 * @since 2024-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
@Tag(name="User对象", description="用户表")
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户账号")
    private String account;

    @Schema(description = "用户密码")
    private String password;

    @Schema(description = "用户名")
    private String name;

    @Schema(description = "真名")
    private String realName;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "生日")
    private String birthday;

    @Schema(description = "性别")
    private Integer sex;

    @Schema(description = "角色id")
    private String roleId;

    @Schema(description = "部门id")
    private String deptId;

    @Schema(description = "身份证")
    private String identificationCard;

    @Schema(description = "地址")
    private String address;


}
